﻿@model PagedList.PagedList<AugustaDevelopersGuild.Models.Meeting>
@{
    ViewBag.Title = "Augusta Developers Guild";
}
<h2>@ViewBag.Title</h2>
<div>
    <div id="sponsors">
        @Html.Partial("_Sponsors")
    </div>
    <div>
        <fieldset>
            <legend>Our Meetings</legend>
            <ul style="list-style-type: none; margin: 0; padding: 0;">
            @foreach (var item in Model)
            {        
                <li>
                    <p>
                        <strong>@item.EventDate.ToString("dd MMMM yyyy")</strong>:
                        @Html.ActionLink(string.Format("{0} will be presenting '{1}'", item.Speaker, item.Topic), "Details", "Meetings", new { id = item.MeetingID }, null)
                    </p>
                    <hr />
                </li>            
                }
            </ul>
            @Html.Partial("_Pagination")
        </fieldset>
    </div>
    <div style="clear: both">
    </div>
</div>
